package com.douwong.student.model;

import java.io.Serializable;

/**
 * 备课实体类
 * @author leihuajie
 *
 */
public class Prepare implements Serializable,Comparable<Prepare>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int clickCount;//点击数
	private String createtime;//创建时间
	private int createdId;//
	private int desCount;//资源总数
	private int id;//备课id
	private boolean isPublic;
	private boolean isRecommend;
	private String lessonName;//备课名
	private int lessonScore;
	private int lessonType;//备课类型
	private String listPlAttachmentBean;//资源列表
	private String listPlExamineBean;//测试列表
	private String listPlIntroductionBean;//导读列表
	private String listPlTaskBean;
	private String prepareDes;
	private String publisherId;//发布者id
	private int pushId;
	private String pushIds;
	private int releaseStatus;
	private String schoolId;
	private int status;
	private String subjectId;//科目id
	private String subjectName;//学科
	private String teacherId;
	private String updatedDt;
	private int updatedId;
	private String userName;
	private String volumn;
	public int getClickCount() {
		return clickCount;
	}
	public void setClickCount(int clickCount) {
		this.clickCount = clickCount;
	}
	public int getCreatedId() {
		return createdId;
	}
	public void setCreatedId(int createdId) {
		this.createdId = createdId;
	}
	public int getDesCount() {
		return desCount;
	}
	public void setDesCount(int desCount) {
		this.desCount = desCount;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public boolean isPublic() {
		return isPublic;
	}
	public void setPublic(boolean isPublic) {
		this.isPublic = isPublic;
	}
	public boolean isRecommend() {
		return isRecommend;
	}
	public void setRecommend(boolean isRecommend) {
		this.isRecommend = isRecommend;
	}
	public String getLessonName() {
		return lessonName;
	}
	public void setLessonName(String lessonName) {
		this.lessonName = lessonName;
	}
	public int getLessonScore() {
		return lessonScore;
	}
	public void setLessonScore(int lessonScore) {
		this.lessonScore = lessonScore;
	}
	public int getLessonType() {
		return lessonType;
	}
	public void setLessonType(int lessonType) {
		this.lessonType = lessonType;
	}
	public String getListPlAttachmentBean() {
		return listPlAttachmentBean;
	}
	public void setListPlAttachmentBean(String listPlAttachmentBean) {
		this.listPlAttachmentBean = listPlAttachmentBean;
	}
	public String getListPlExamineBean() {
		return listPlExamineBean;
	}
	public void setListPlExamineBean(String listPlExamineBean) {
		this.listPlExamineBean = listPlExamineBean;
	}
	public String getListPlIntroductionBean() {
		return listPlIntroductionBean;
	}
	public void setListPlIntroductionBean(String listPlIntroductionBean) {
		this.listPlIntroductionBean = listPlIntroductionBean;
	}
	public String getPrepareDes() {
		return prepareDes;
	}
	public void setPrepareDes(String prepareDes) {
		this.prepareDes = prepareDes;
	}
	public String getPublisherId() {
		return publisherId;
	}
	public void setPublisherId(String publisherId) {
		this.publisherId = publisherId;
	}
	public int getPushId() {
		return pushId;
	}
	public void setPushId(int pushId) {
		this.pushId = pushId;
	}
	public String getPushIds() {
		return pushIds;
	}
	public void setPushIds(String pushIds) {
		this.pushIds = pushIds;
	}
	public int getReleaseStatus() {
		return releaseStatus;
	}
	public void setReleaseStatus(int releaseStatus) {
		this.releaseStatus = releaseStatus;
	}
	public String getSchoolId() {
		return schoolId;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}
	public String getSubjectName() {
		return subjectName;
	}
	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}
	public String getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}
	public String getUpdatedDt() {
		return updatedDt;
	}
	public void setUpdatedDt(String updatedDt) {
		this.updatedDt = updatedDt;
	}
	public int getUpdatedId() {
		return updatedId;
	}
	public void setUpdatedId(int updatedId) {
		this.updatedId = updatedId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getVolumn() {
		return volumn;
	}
	public void setVolumn(String volumn) {
		this.volumn = volumn;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	public String getListPlTaskBean() {
		return listPlTaskBean;
	}
	public void setListPlTaskBean(String listPlTaskBean) {
		this.listPlTaskBean = listPlTaskBean;
	}
	@Override
	public int compareTo(Prepare another) {
		if(another.getCreatetime().compareTo(this.createtime)>0){
			return 1;
		}else if(another.getCreatetime().compareTo(this.createtime)<0){
			return -1;
		}else{
			return 0;
		}
	}
	

}
